cmake_minimum_required(VERSION 2.8)
project(slam_shen)

#set(DEFAULT_BUILD_TYPE "Release")
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")
set(CMAKE_BUILD_TYPE Debug)
include_directories(/usr/include/eigen3)

find_package(Eigen3 REQUIRED)
if(Eigen3_found)
    include_directories(${Eigen3_INCLUDE_DIR})
endif()

include_directories(${PROJECT_SOURCE_DIR})

find_package(OpenCV REQUIRED)
include_directories(${OpenCV_INCLUDE_DIR})

add_subdirectory(backendshen)
add_subdirectory(utils)
add_subdirectory(appshen)

